These samples demonstrate various ways of working with XML data.
Are there special requirements or instructions for building the sample?
Description
These samples include:

[Category("Misc")]
[Description("Check if an element has element children")]
public void XLinq93()
{
XDocument doc = XDocument.Load("nw_customers.xml");
XElement e = doc.Element("Root")
.Element("Customers");
Console.WriteLine("Customers has elements? {0}", e.HasElements);
}
[Category("Misc")] [Description("Check if an element has element children")] public void XLinq93() { XDocument doc = XDocument.Load("nw_customers.xml"); XElement e = doc.Element("Root") .Element("Customers"); Console.WriteLine("Customers has elements? {0}", e.HasElements); }
For more information on LINQ to XML: http://msdn.microsoft.com/en-us/library/bb387098.aspx